yii1 set flash

134

yii1 set flash -

<?php if(Yii::app()->user->hasFlash('contact')): ?>

<div class="flash-success">
	<?php echo Yii::app()->user->getFlash('contact'); ?>
</div>

<?php endif; ?> 

yii1 set flash -

Yii::app()->user->setFlash('contact','Thank you for contacting us. We will respond to you as soon as possible.');

Comments

Submit
0 Comments